package meconsea.webcoll.uc.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import meconsea.webcoll.base.entity.AbsEntity;
import meconsea.webcoll.base.entity.IEntity;

import org.hibernate.annotations.Type;

/**
 * 文章推荐
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name="uc_art_commend")
public class UcArtCommend extends AbsEntity implements IEntity{
	@Column(length=32)
	private String artId;
	@Column(name="commendUserId",length=32)
	private String commendUserId;
	
	@Column(length=32)
	private String receiverId;
	
	@Column(name="isRead")
	@Type(type="integer")
	private int isRead;

	public String getArtId() {
		return artId;
	}

	public void setArtId(String artId) {
		this.artId = artId;
	}

	public String getCommendUserId() {
		return commendUserId;
	}

	public void setCommendUserId(String commendUserId) {
		this.commendUserId = commendUserId;
	}

	public String getReceiverId() {
		return receiverId;
	}

	public void setReceiverId(String receiverId) {
		this.receiverId = receiverId;
	}

	public int getIsRead() {
		return isRead;
	}

	public void setIsRead(int isRead) {
		this.isRead = isRead;
	}
	
}
